from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtinfocontent import xtinfocontentMessageFactory as _


class Isecondhandinfo(Interface):
    """a second hand infomation type"""

    # -*- schema definition goes here -*-
   
#
    registereddatetime = schema.Date(
        title=_(u"registered date"),
        required=False,
        description=_(u""),
    )
#
#    effectivedate = schema.Date(
#        title=_(u"New Field"),
#        required=False,
#        description=_(u""),
#    )
#
    text = schema.Text(
        title=_(u"detail description"),
        required=False,
        description=_(u""),
    )
#
    photo = schema.Bytes(
        title=_(u"photo"),
        required=False,
        description=_(u""),
    )
#
    addr = schema.TextLine(
        title=_(u"address"),
        required=False,
        description=_(u""),
    )
#
    phone = schema.TextLine(
        title=_(u"phone number"),
        required=False,
        description=_(u""),
    )
#
    qq = schema.Int(
        title=_(u"qq number"),
        required=False,
        description=_(u""),
    )
#
    author = schema.TextLine(
        title=_(u"publisher"),
        required=False,
        description=_(u""),
    )
#
